package com.carleasoft.mps.adu.business.position.bean.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 岗位分组表
 * </p>
 *
 * @author ztm
 * @since 2021-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("m_authority_position_group")
@ApiModel(value="AuthorityPositionGroup对象", description="职位分组表")
public class AuthorityPositionGroupEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "ID", type = IdType.AUTO)
    private String id;

    /**
     * 分组编码
     */
    @TableField("POSITION_GROUP_NUMBER")
    private String positionGroupNumber;

    /**
     * 分组编码
     */
    @TableField("POSITION_GROUP_CODE")
    private String positionGroupCode;

    /**
     * 分组名称
     */
    @TableField("POSITION_GROUP_NAME")
    private String positionGroupName;

    /**
     * 上级分组编码
     */
    @TableField("PARENT_POSITION_GROUP_CODE")
    private String parentPositionGroupCode;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     *所属机构部门编码
     */
    @TableField("DEPT_CODE")
    private String deptCode;
    /**
     * 排序值
     */
    @TableField(value = "SORT")
    private Integer sort;
    /**
     * 排序权重
     */
    @TableField(value = "SORT_DATE")
    private Long sortDate;


    /**
     * 全路径
     */
    @ApiModelProperty(value = "全路径")
    @TableField("FULL_PATH")
    private String fullPath;


    @TableField(value = "CREATE_PERSON_CODE",fill = FieldFill.INSERT)
    private String createPersonCode;

    @TableField(value = "CREATE_PERSON_NAME",fill = FieldFill.INSERT)
    private String createPersonName;

    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "UPDATE_PERSON_CODE",fill = FieldFill.UPDATE)
    private String updatePersonCode;

    @TableField(value = "UPDATE_PERSON_NAME",fill = FieldFill.UPDATE)
    private String updatePersonName;

    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;


}
